//
//  TableRowView.swift
//  OneMeeting
//
//  Created by zhangheng on 2019/8/27.
//  Copyright © 2019 www.zhangheng.com. All rights reserved.
//

import Foundation
class TableRowView: NSTableRowView {
    
    override func drawSelection(in dirtyRect: NSRect) {
        if self.selectionHighlightStyle != NSTableView.SelectionHighlightStyle.none {
            let selectRect = NSInsetRect(self.bounds, 0, 0)
            NSColor.init(white: 40.0/255.0, alpha: 1.0).setFill()
            let selectionPath = NSBezierPath.init(roundedRect: selectRect, xRadius: 0, yRadius: 0)
            selectionPath.fill()
        }
    }
    
    
}
